import {defineStore} from "pinia";
import {ref} from "vue";

export const useContainerInstanceStore = defineStore('containerInstance', () => {
    let containerInstanceDetailSearchData = ref({});
    let containerInstanceDetailDataList = ref([]);

    function resetContainerInstanceDetailSearchData(info) {
        containerInstanceDetailSearchData.value = info
    }

    function resetContainerInstanceDetailDataList(info) {
        containerInstanceDetailDataList.value = info;
    }

    return { containerInstanceDetailSearchData, resetContainerInstanceDetailSearchData, containerInstanceDetailDataList, resetContainerInstanceDetailDataList }
})